package com.foreverwin.jzymes.production.cutter.service;

import java.io.File;
import java.util.List;
import java.util.Map;

public interface IExportExcelService {
    public  Map<String, Object> setConditionMap(Object obj);

    /**
     * 导出数据库表已有字段
     * @param list
     * @param sheetName
     * @return
     */
    public File reportExport(List<?> list, String sheetName);

    /**
     * 导出数据库表未有字段
     * @param data
     * @param title
     * @param rowName
     * @param excel
     * @return
     */
    public File Export(List<Object[]> data, String title ,String[] rowName ,String excel);
}
